Total Complexity | 49 |
Dependencies | 14 |
Dependents | 22 |
Total lines | 333 |
Lines of code | 175 |
Logical lines of code | 118 |
Comment lines | 61 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getWcProduct() | 49 | 9 | 31 | |
calcHashProcessedProduct() | 54 | 8 | 20 | |
loadRules() | 50 | 6 | 29 | |
loadVariationsPostMeta() | 59 | 4 | 15 | |
loadActiveRules() | 58 | 3 | 15 | |
getVariationProductData() | 59 | 3 | 15 | |
flushRulesCache() | 63 | 2 | 11 | |
flush() | 71 | 2 | 6 | |
cacheGet() | 69 | 2 | 6 | |
cacheSet() | 69 | 2 | 6 | |
addRulesToCache() | 72 | 2 | 5 | |
getVariationProductMeta() | 75 | 2 | 4 | |
maybeGetProcessedProductToDisplay() | 70 | 2 | 5 | |
addProcessedProductToDisplay() | 67 | 2 | 7 |